package com.fjl.paixu;

public class MaoPao {
	public static void main(String[] args) {
		int[] test = new int[]{1,2,56,5,96,4,3,7};
		int i = 0;
		int n = test.length;
		for(i = 0;i < n -1;i++){
			for(int j = 0;j < n-i -1;j++){
				if(test[j] < test[j+1]){
					int temp = test[j+1];
					test[j+1] = test[j];
					test[j] = temp;
				}
			}
			
		}
		for(int x:test){
			System.out.println(x);
		}
	}

}
